package cn.qidd.keep.manage.model.system;

import cn.qidd.keep.domain.core.dict.DeptProperty;
import cn.qidd.keep.domain.core.dict.DeptType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by sunyanping on 2018/9/17
 */
@Data
public class DeptParams {
    @NotBlank
    @ApiModelProperty(value = "机构名称", required = true)
    private String deptName;
    @NotNull
    @ApiModelProperty(value = "机构性质", required = true)
    private DeptProperty deptProperty;
    @NotNull
    @ApiModelProperty(value = "机构类型", required = true)
    private DeptType deptType;
    @NotBlank
    @ApiModelProperty(value = "父机构ID", required = true)
    private String deptPid;
//    @NotNull
//    @ApiModelProperty(value = "机构状态", required = true)
//    private EnableStatus status;
    @ApiModelProperty("备注")
    private String remark;

}
